const env = require('./env.json')
const config = {
  features: [
    { key: 'main', name: '主页' },
    { key: 'vote', name: '投票' },
    { key: 'ballot', name: '选票' },
    { key: 'user', name: '用户' },
    { key: 'role', name: '角色' }
  ],
  password: { secret: env.password.secret },
  jwt: { secret: env.password.secret },
  sequelize: {
    database: env.sequelize.database,
    username: env.sequelize.username,
    password: env.sequelize.password,
    host: env.sequelize.host,
    dialect: env.sequelize.dialect
  }
}
module.exports = config
